﻿using System;
using System.Collections.Generic;
using System.Text;

namespace taobao
{
    //taobao.shopcats.list.get(获取前台展示的店铺类目)

    public partial class shopcats
    {
        public partial class list : taobao.Util.BaseObject
        {
            private Shop.Cats.List.GetPut PutGet = new Shop.Cats.List.GetPut();

            /// <summary>
            /// taobao.shopcats.list.get(获取前台展示的店铺类目)

            /// </summary>
            /// <returns></returns>
            public string getToXml()
            {
                Dictionary<string, string> puts = taobao.Util.Convert.ToPut(PutGet);
                puts.Add("sign", SignTopRequest(puts));
                return DoPost(puts);
            }

            public Shop.Cats.List.GetOut get()
            {
                string strXml = getToXml();
                Shop.Cats.List.GetOut outGet = new Shop.Cats.List.GetOut();
                XmlToObject(strXml, "shop_cat", outGet.shop_cats, outGet.error_rsp);
                return outGet;
            }
        }
    }
}
